﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200041F RID: 1055
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EKLDBJMNOHO : IMessage<EKLDBJMNOHO>, IMessage, IEquatable<EKLDBJMNOHO>, IDeepCloneable<EKLDBJMNOHO>, IBufferMessage
	{
		// Token: 0x17000D93 RID: 3475
		// (get) Token: 0x06002F5A RID: 12122 RVA: 0x00082C75 File Offset: 0x00080E75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EKLDBJMNOHO> Parser
		{
			get
			{
				return EKLDBJMNOHO._parser;
			}
		}

		// Token: 0x17000D94 RID: 3476
		// (get) Token: 0x06002F5B RID: 12123 RVA: 0x00082C7C File Offset: 0x00080E7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EKLDBJMNOHOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000D95 RID: 3477
		// (get) Token: 0x06002F5C RID: 12124 RVA: 0x00082C8E File Offset: 0x00080E8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EKLDBJMNOHO.Descriptor;
			}
		}

		// Token: 0x06002F5D RID: 12125 RVA: 0x00082C95 File Offset: 0x00080E95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKLDBJMNOHO()
		{
		}

		// Token: 0x06002F5E RID: 12126 RVA: 0x00082CA0 File Offset: 0x00080EA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKLDBJMNOHO(EKLDBJMNOHO other) : this()
		{
			this.level_ = other.level_;
			this.mOCKIOPKEKE_ = other.mOCKIOPKEKE_;
			this.exp_ = other.exp_;
			this.aeonId_ = other.aeonId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002F5F RID: 12127 RVA: 0x00082CF4 File Offset: 0x00080EF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EKLDBJMNOHO Clone()
		{
			return new EKLDBJMNOHO(this);
		}

		// Token: 0x17000D96 RID: 3478
		// (get) Token: 0x06002F60 RID: 12128 RVA: 0x00082CFC File Offset: 0x00080EFC
		// (set) Token: 0x06002F61 RID: 12129 RVA: 0x00082D04 File Offset: 0x00080F04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x17000D97 RID: 3479
		// (get) Token: 0x06002F62 RID: 12130 RVA: 0x00082D0D File Offset: 0x00080F0D
		// (set) Token: 0x06002F63 RID: 12131 RVA: 0x00082D15 File Offset: 0x00080F15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MOCKIOPKEKE
		{
			get
			{
				return this.mOCKIOPKEKE_;
			}
			set
			{
				this.mOCKIOPKEKE_ = value;
			}
		}

		// Token: 0x17000D98 RID: 3480
		// (get) Token: 0x06002F64 RID: 12132 RVA: 0x00082D1E File Offset: 0x00080F1E
		// (set) Token: 0x06002F65 RID: 12133 RVA: 0x00082D26 File Offset: 0x00080F26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Exp
		{
			get
			{
				return this.exp_;
			}
			set
			{
				this.exp_ = value;
			}
		}

		// Token: 0x17000D99 RID: 3481
		// (get) Token: 0x06002F66 RID: 12134 RVA: 0x00082D2F File Offset: 0x00080F2F
		// (set) Token: 0x06002F67 RID: 12135 RVA: 0x00082D37 File Offset: 0x00080F37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AeonId
		{
			get
			{
				return this.aeonId_;
			}
			set
			{
				this.aeonId_ = value;
			}
		}

		// Token: 0x06002F68 RID: 12136 RVA: 0x00082D40 File Offset: 0x00080F40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EKLDBJMNOHO);
		}

		// Token: 0x06002F69 RID: 12137 RVA: 0x00082D50 File Offset: 0x00080F50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EKLDBJMNOHO other)
		{
			return other != null && (other == this || (this.Level == other.Level && this.MOCKIOPKEKE == other.MOCKIOPKEKE && this.Exp == other.Exp && this.AeonId == other.AeonId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002F6A RID: 12138 RVA: 0x00082DBC File Offset: 0x00080FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				num ^= this.MOCKIOPKEKE.GetHashCode();
			}
			if (this.Exp != 0U)
			{
				num ^= this.Exp.GetHashCode();
			}
			if (this.AeonId != 0U)
			{
				num ^= this.AeonId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002F6B RID: 12139 RVA: 0x00082E46 File Offset: 0x00081046
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002F6C RID: 12140 RVA: 0x00082E4E File Offset: 0x0008104E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002F6D RID: 12141 RVA: 0x00082E58 File Offset: 0x00081058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AeonId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.AeonId);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Level);
			}
			if (this.Exp != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Exp);
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.MOCKIOPKEKE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002F6E RID: 12142 RVA: 0x00082EE8 File Offset: 0x000810E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MOCKIOPKEKE);
			}
			if (this.Exp != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Exp);
			}
			if (this.AeonId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AeonId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002F6F RID: 12143 RVA: 0x00082F70 File Offset: 0x00081170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EKLDBJMNOHO other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.MOCKIOPKEKE != 0U)
			{
				this.MOCKIOPKEKE = other.MOCKIOPKEKE;
			}
			if (other.Exp != 0U)
			{
				this.Exp = other.Exp;
			}
			if (other.AeonId != 0U)
			{
				this.AeonId = other.AeonId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002F70 RID: 12144 RVA: 0x00082FE8 File Offset: 0x000811E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002F71 RID: 12145 RVA: 0x00082FF4 File Offset: 0x000811F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 8U)
					{
						this.AeonId = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.Level = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.Exp = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.MOCKIOPKEKE = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040012B6 RID: 4790
		private static readonly MessageParser<EKLDBJMNOHO> _parser = new MessageParser<EKLDBJMNOHO>(() => new EKLDBJMNOHO());

		// Token: 0x040012B7 RID: 4791
		private UnknownFieldSet _unknownFields;

		// Token: 0x040012B8 RID: 4792
		public const int LevelFieldNumber = 6;

		// Token: 0x040012B9 RID: 4793
		private uint level_;

		// Token: 0x040012BA RID: 4794
		public const int MOCKIOPKEKEFieldNumber = 13;

		// Token: 0x040012BB RID: 4795
		private uint mOCKIOPKEKE_;

		// Token: 0x040012BC RID: 4796
		public const int ExpFieldNumber = 8;

		// Token: 0x040012BD RID: 4797
		private uint exp_;

		// Token: 0x040012BE RID: 4798
		public const int AeonIdFieldNumber = 1;

		// Token: 0x040012BF RID: 4799
		private uint aeonId_;
	}
}
